/*
 * Copyright (c) 2019 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
 */
#ifndef NRF_CC310_PLATFORM_DEFINES_H__
#define NRF_CC310_PLATFORM_DEFINES_H__

#ifdef __cplusplus
extern "C"
{
#endif

#include "nrf_cc3xx_platform_defines.h"

#define NRF_CC310_PLATFORM_ENTROPY_MAX_GATHER               NRF_CC3XX_PLATFORM_ENTROPY_MAX_GATHER
#define NRF_CC310_PLATFORM_USE_COUNT_MAX                    NRF_CC3XX_PLATFORM_USE_COUNT_MAX

#define NRF_CC310_PLATFORM_SUCCESS                          NRF_CC3XX_PLATFORM_SUCCESS
#define NRF_CC310_PLATFORM_ERROR_PARAM_NULL                 NRF_CC3XX_PLATFORM_ERROR_PARAM_NULL
#define NRF_CC310_PLATFORM_ERROR_INTERNAL                   NRF_CC3XX_PLATFORM_ERROR_INTERNAL
#define NRF_CC310_PLATFORM_ERROR_RNG_TEST_FAILED            NRF_CC3XX_PLATFORM_ERROR_RNG_TEST_FAILED
#define NRF_CC310_PLATFORM_ERROR_HW_VERSION_FAILED          NRF_CC3XX_PLATFORM_ERROR_HW_VERSION_FAILED
#define NRF_CC310_PLATFORM_ERROR_PARAM_WRITE_FAILED         NRF_CC3XX_PLATFORM_ERROR_PARAM_WRITE_FAILED
#define NRF_CC310_PLATFORM_ERROR_MUTEX_NOT_INITIALIZED      NRF_CC3XX_PLATFORM_ERROR_MUTEX_NOT_INITIALIZED
#define NRF_CC310_PLATFORM_ERROR_MUTEX_FAILED               NRF_CC3XX_PLATFORM_ERROR_MUTEX_FAILED
#define NRF_CC310_PLATFORM_ERROR_ENTROPY_NOT_INITIALIZED    NRF_CC3XX_PLATFORM_ERROR_ENTROPY_NOT_INITIALIZED
#define NRF_CC310_PLATFORM_ERROR_ENTROPY_TRNG_TOO_LONG      NRF_CC3XX_PLATFORM_ERROR_ENTROPY_TRNG_TOO_LONG

#ifdef __cplusplus
}
#endif

#endif /* NRF_CC310_PLATFORM_DEFINES_H__ */
